package model

type GoodsCollectorCreateRequest struct {
	Id           int64    `json:"id"`
	ThirdGoodsId int64    `json:"third_goods_id"`
	ImageURLList []string `json:"image_url_list"`
	GoodsDetail  string   `json:"goods_detail"`
	GoodsPrice   float64  `json:"goods_price"`
	GoodsStock   int      `json:"goods_stock"`
	GoodsState   int      `json:"goods_state"`
	GoodsName    string   `json:"goods_name"`
	CreatedAt    int64    `json:"created_at"`
	UpdatedAt    int64    `json:"updated_at"`
}
type GoodsCollectorUpdateRequest struct {
	Id           int64     `json:"id"`
	ThirdGoodsId *int64    `json:"third_goods_id"`
	ImageURLList *[]string `json:"image_url_list"`
	GoodsDetail  *string   `json:"goods_detail"`
	GoodsPrice   *float64  `json:"goods_price"`
	GoodsStock   *int      `json:"goods_stock"`
	GoodsState   *int      `json:"goods_state"`
	CreatedAt    *int64    `json:"created_at"`
	UpdatedAt    *int64    `json:"updated_at"`
}
type GoodsCollectorListRequest struct {
	Id           int64    `json:"id"`
	ThirdGoodsId *int64   `json:"third_goods_id"`
	ImageURLList *string  `json:"image_url_list"`
	GoodsDetail  *string  `json:"goods_detail"`
	GoodsPrice   *float64 `json:"goods_price"`
	GoodsStock   *int     `json:"goods_stock"`
	GoodsState   *int     `json:"goods_state"`
	CreatedAt    *int64   `json:"created_at"`
	UpdatedAt    *int64   `json:"updated_at"`
	Index        int      `json:"index"`
	Size         int      `json:"size"`
}
type GoodsCollectorListResponse struct {
	Total int                   `json:"total"`
	List  []*GoodsCollectorInfo `json:"list"`
}
type GoodsCollectorInfoRequest struct {
	Id int64 `json:"id"`
}
type GoodsCollectorInfo struct {
	Id           int64    `json:"id"`
	ThirdGoodsId int64    `json:"third_goods_id"`
	ImageURLList []string `json:"image_url_list"`
	GoodsDetail  string   `json:"goods_detail"`
	GoodsName    string   `json:"goods_name"`
	GoodsPrice   float64  `json:"goods_price"`
	GoodsStock   int      `json:"goods_stock"`
	GoodsState   int      `json:"goods_state"`
	CreatedAt    int64    `json:"created_at"`
	UpdatedAt    int64    `json:"updated_at"`
}
type GoodsCollectorDeleteRequest struct {
	Id int64 `json:"id"`
}
